package com.jiayang.hhotel.presenter;

import com.jiayang.hhotel.bean.ContactPersonModel;
import com.jiayang.hhotel.ui.ContactPersonActivity;

import java.util.ArrayList;

import cn.droidlover.xdroidmvp.mvp.XPresent;

/**
 * Created by Administrator on 2017/5/26 0026.
 * 联系人逻辑类
 */

public class ContactPersonPresenter extends XPresent<ContactPersonActivity> {

    public void asyncLoad(){
        ArrayList<ContactPersonModel> mList=new ArrayList<>();
        mList.add(new ContactPersonModel("张三","营销部","能"));
        mList.add(new ContactPersonModel("张三","营销部","能"));
        mList.add(new ContactPersonModel("张三","营销部","能"));
        mList.add(new ContactPersonModel("张三","营销部","能"));
        mList.add(new ContactPersonModel("张三","营销部","能"));
        mList.add(new ContactPersonModel("张三","营销部","能"));
        mList.add(new ContactPersonModel("张三","营销部","能"));
        mList.add(new ContactPersonModel("张三","营销部","能"));
        mList.add(new ContactPersonModel("张三","营销部","能"));
        mList.add(new ContactPersonModel("张三","营销部","能"));

        getV().setAdapter(mList);
    }
}
